<?php

namespace App\Models\product;

use App\Models\BaseModel;

class ProductPlatformModel extends BaseModel
{
    protected $table = 'product_platform';
    protected $primaryKey = 'id';

    public function product(): \Illuminate\Database\Eloquent\Relations\HasMany
    {
        return $this->hasMany(ProductModel::class, 'platform_id', 'id');
    }
}
